package com.joysuch.wwyt.bp.bean.investigate;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/3/26 9:29
 */
@Data
public class BpInvestigateRecordItemBean {

    @ApiModelProperty("id--前端无需传值")
    private Long id;
    @ApiModelProperty("排查项目id")
    @NotNull(message = "排查项目id不能为空")
    private Long checkItemId;
    @ApiModelProperty("排查项目--前端无需传值")
    private String item;
    @ApiModelProperty("排查内容--前端无需传值")
    private String content;
    @ApiModelProperty("依据标准--前端无需传值")
    private String standard;
    @ApiModelProperty("问题描述")
    private String problemDescription;
    @ApiModelProperty("状态")
    @NotEmpty(message = "状态不能为空")
    private String action;
    @ApiModelProperty("图片")
    private List<BaseAttachmentBean> attachmentList;
    @ApiModelProperty("整改状态--前端无需传值")
    private String repairStatus;

    @ApiModelProperty("关联流程数据--任务id")
    private Long workFlowTaskId;
    @ApiModelProperty("关联流程数据--任务状态")
    private String workFlowStatus;
    @ApiModelProperty("关联流程数据--formData")
    private String workFlowFormData;
    @ApiModelProperty("关联流程数据--流程id")
    private Long workFlowProcessId;

    @ApiModelProperty("新版-关联流程id")
    private String wfProcessInsId;

    @ApiModelProperty("新版-关联流程状态")
    private String wfProcessStatus;
    @ApiModelProperty("app签名")
    private String autograph;

}
